package cn.sciento.farm.devicemanager.api.jsonrpc;


import cn.sciento.farm.devicemanager.dao.entity.DevCollection;
import cn.sciento.farm.devicemanager.dao.entity.DevCollectionType;
import cn.sciento.farm.devicemanager.dao.model.ResponseMessage;
import cn.sciento.farm.devicemanager.gateway.model.uplink.CollectionType;
import com.googlecode.jsonrpc4j.JsonRpcService;

/**
 * 采集类型
 */
@JsonRpcService("rpc/hardware.collection.type")
public interface CollectionTypeJsonApi {

    ResponseMessage add(DevCollectionType collectionType);

    ResponseMessage update(DevCollectionType collectionType);

    ResponseMessage list();


    ResponseMessage get(String type);



}
